from django.urls import path

from myapp import views

app_name = 'myapp'
urlpatterns = [
    # # 后台管理api
    # path('admin/overview/count', views.admin.overview.count),
    # path('admin/overview/sysInfo', views.admin.overview.sysInfo),
    # path('admin/post/list', views.admin.post.list_api),
    # path('admin/post/detail', views.admin.post.detail),
    # path('admin/post/create', views.admin.post.create),
    # path('admin/post/update', views.admin.post.update),
    # path('admin/post/delete', views.admin.post.delete),
    # path('admin/resume/list', views.admin.resume.list_api),
    # path('admin/resume/detail', views.admin.resume.detail),
    # path('admin/resume/create', views.admin.resume.create),
    # path('admin/resume/update', views.admin.resume.update),
    # path('admin/resume/delete', views.admin.resume.delete),
    # path('admin/company/list', views.admin.company.list_api),
    # path('admin/company/detail', views.admin.company.detail),
    # path('admin/company/create', views.admin.company.create),
    # path('admin/company/update', views.admin.company.update),
    # path('admin/company/delete', views.admin.company.delete),
    # path('admin/thing/list', views.admin.thing.list_api),
    # path('admin/thing/detail', views.admin.thing.detail),
    # path('admin/thing/create', views.admin.thing.create),
    # path('admin/thing/update', views.admin.thing.update),
    # path('admin/thing/delete', views.admin.thing.delete),
    # path('admin/comment/list', views.admin.comment.list_api),
    # path('admin/comment/create', views.admin.comment.create),
    # path('admin/comment/update', views.admin.comment.update),
    # path('admin/comment/delete', views.admin.comment.delete),
    # path('admin/classification/list', views.admin.classification.list_api),
    # path('admin/classification/create', views.admin.classification.create),
    # path('admin/classification/update', views.admin.classification.update),
    # path('admin/classification/delete', views.admin.classification.delete),
    # path('admin/tag/list', views.admin.tag.list_api),
    # path('admin/tag/create', views.admin.tag.create),
    # path('admin/tag/update', views.admin.tag.update),
    # path('admin/tag/delete', views.admin.tag.delete),
    # path('admin/banner/list', views.admin.banner.list_api),
    # path('admin/banner/create', views.admin.banner.create),
    # path('admin/banner/update', views.admin.banner.update),
    # path('admin/banner/delete', views.admin.banner.delete),
    # path('admin/ad/list', views.admin.ad.list_api),
    # path('admin/ad/create', views.admin.ad.create),
    # path('admin/ad/update', views.admin.ad.update),
    # path('admin/ad/delete', views.admin.ad.delete),
    # path('admin/notice/list', views.admin.notice.list_api),
    # path('admin/notice/create', views.admin.notice.create),
    # path('admin/notice/update', views.admin.notice.update),
    # path('admin/notice/delete', views.admin.notice.delete),
    # path('admin/order/list', views.admin.order.list_api),
    # path('admin/order/create', views.admin.order.create),
    # path('admin/order/update', views.admin.order.update),
    # path('admin/order/cancel_order', views.admin.order.cancel_order),
    # path('admin/order/delay', views.admin.order.delay),
    # path('admin/order/delete', views.admin.order.delete),
    # path('admin/loginLog/list', views.admin.loginLog.list_api),
    # path('admin/loginLog/create', views.admin.loginLog.create),
    # path('admin/loginLog/update', views.admin.loginLog.update),
    # path('admin/loginLog/delete', views.admin.loginLog.delete),
    # path('admin/opLog/list', views.admin.opLog.list_api),
    # path('admin/errorLog/list', views.admin.errorLog.list_api),
    # path('admin/user/list', views.admin.user.list_api),
    # path('admin/user/create', views.admin.user.create),
    # path('admin/user/update', views.admin.user.update),
    # path('admin/user/updatePwd', views.admin.user.updatePwd),
    # path('admin/user/delete', views.admin.user.delete),
    # path('admin/user/info', views.admin.user.info),
    # path('admin/adminLogin', views.admin.user.admin_login),
    #

    # 前台管理api
    path('index/classification/list', views.index.classification.list_api),
    path('index/tag/list', views.index.tag.list_api),
    path('index/user/login', views.index.user.login),
    path('index/user/register', views.index.user.register),
    path('index/user/info', views.index.user.info),
    path('index/user/update', views.index.user.update),
    path('index/user/updatePwd', views.index.user.updatePwd),
    path('index/notice/list_api', views.index.notice.list_api),
    path('index/thing/list', views.index.thing.list_api),
    path('index/thing/list_user_thing', views.index.thing.list_user_thing_api),
    path('index/thing/create', views.index.thing.create),
    path('index/thing/update', views.index.thing.update),
    path('index/thing/delete', views.index.thing.delete),
    path('index/thing/detail', views.index.thing.detail),
    path('index/thing/increaseWishCount', views.index.thing.increaseWishCount),
    path('index/thing/addWishUser', views.index.thing.addWishUser),
    path('index/thing/removeWishUser', views.index.thing.removeWishUser),
    path('index/thing/getWishThingList', views.index.thing.getWishThingList),
    path('index/thing/addCollectUser', views.index.thing.addCollectUser),
    path('index/thing/removeCollectUser', views.index.thing.removeCollectUser),
    path('index/thing/getCollectThingList', views.index.thing.getCollectThingList),
    path('index/thing/increaseRecommendCount', views.index.thing.increaseRecommendCount),
    path('index/comment/list', views.index.comment.list_api),
    path('index/comment/listMyComments', views.index.comment.list_my_comment),
    path('index/comment/create', views.index.comment.create),
    path('index/comment/delete', views.index.comment.delete),
    path('index/comment/like', views.index.comment.like),
    path('index/order/list', views.index.order.list_api),
    path('index/order/create', views.index.order.create),
    path('index/order/cancel_order', views.index.order.cancel_order),
    path('index/address/list', views.index.address.list_api),
    path('index/address/create', views.index.address.create),
    path('index/address/update', views.index.address.update),
    path('index/address/delete', views.index.address.delete),
    path('index/resume/create', views.index.resume.create),
    path('index/resume/update', views.index.resume.update),
    path('index/resume/detail', views.index.resume.detail),
    path('index/post/create', views.index.post.create),
    path('index/post/list_user_post_api', views.index.post.list_user_post_api),
    path('index/post/list_company_post_api', views.index.post.list_company_post_api),
    path('index/company/list_user_company_api', views.index.company.list_user_company_api),
    path('index/company/create', views.index.company.create),
    path('index/company/update', views.index.company.update),

]
